package user.list;

public class Element<T> {

	private final T current;
	private Element<T> next;

	public Element(T t) {
		this.current = t;
		this.next = null;
	}

	public T getCurrent() {
		return current;
	}

	public void setNext(Element<T> next) {
		this.next = next;
	}

	public Element<T> getNext() {
		return next;
	}
}
